package com.hendraanggrian.appcompat.widget;

/**
 * Abstract mention to be used with {@link com.hendraanggrian.appcompat.widget.MentionArrayAdapter}.
 */
public interface Mentionable {
    /**
     * Unique id of this mention.
     *
     * @return Unique id of this mention.
     */
    CharSequence getUsername();

    /**
     * Optional display name, located above username.
     *
     * @return Optional display name, located above username.
     */
    CharSequence getDisplayname();

    /**
     * Optional avatar, may be Drawable, resources, or string url pointing to image.
     *
     * @return Optional avatar, may be Drawable, resources, or string url pointing to image.
     */
    Object getAvatar();
}